﻿using System;
using System.Windows.Forms;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Controls;
using ESRI.ArcGIS.esriSystem;

namespace 面积最大3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
            InitializeComponent();
        }

        private void btnOpenRasterToPolygonForm_Click(object sender, EventArgs e)
        {
            using (RasterToPolygonForm form = new RasterToPolygonForm(axMapControl1))
            {
                form.ShowDialog();
            }
        }

        private void btnAttributeQuery_Click(object sender, EventArgs e)
        {
            using (AttributeSelectionForm form = new AttributeSelectionForm(axMapControl1))
            {
                form.ShowDialog();
            }
        }
    }
}